package com.cn.bulu.pojo;

import java.text.SimpleDateFormat;
import java.util.Date;

public class WalletRecord {
	
	private Integer walletRecordId;	// 表的自增id
	private Integer peopleId;       //交易人id(默认值为null)
	private Integer indentId;       //订单id(默认值为null)
	private Integer peopleType;     //交易人身份0商家 1个人' 2：工人(默认值为null)
	private Double  mainMoney;      //金钱交易的主干的金额(默认值为0.00)
	private Double  addMoney;       //加价悬赏(默认值为0.00)
	private Double  subMoney;       //交易行为扣除金额(默认值为0.00)
	private Double  finalGetMoney;  //最终得到金钱数(默认值为0.00)
	private Double  finalLostMoney; //最终失去金钱数(默认值为0.00)
	private Integer type;           //金钱交易种类0：测量     1：安装2：维修     3：加价悬赏4:取消订单(默认值为null)
	private String  recordTime;     //交易时间(默认值为null)
	private Integer status;         //交易状态0：失败     1：成功(默认值为null)
	private String  remark;	        //金钱交易备注(默认值为null)
	private Integer isDelete;       //是否删除(默认值为0)
	private String  method;         //‘’	支付方式(默认值为null)
	private String orderNo;///我们公司对钱包记录的流水号,无论余额支付还是支付宝支付都有
	private String tradeNo;	//支付宝支付时产生的流水号，余额支付时没有值

	
	
	public Integer getWalletRecordId() {
		return walletRecordId;
	}



	public void setWalletRecordId(Integer walletRecordId) {
		this.walletRecordId = walletRecordId;
	}



	public Integer getPeopleId() {
		return peopleId;
	}



	public void setPeopleId(Integer peopleId) {
		this.peopleId = peopleId;
	}



	public Integer getIndentId() {
		return indentId;
	}



	public void setIndentId(Integer indentId) {
		this.indentId = indentId;
	}



	public Integer getPeopleType() {
		return peopleType;
	}



	public void setPeopleType(Integer peopleType) {
		this.peopleType = peopleType;
	}



	public Double getMainMoney() {
		return mainMoney;
	}



	public void setMainMoney(Double mainMoney) {
		this.mainMoney = mainMoney;
	}



	public Double getAddMoney() {
		return addMoney;
	}



	public void setAddMoney(Double addMoney) {
		this.addMoney = addMoney;
	}



	public Double getSubMoney() {
		return subMoney;
	}



	public void setSubMoney(Double subMoney) {
		this.subMoney = subMoney;
	}



	public Double getFinalGetMoney() {
		return finalGetMoney;
	}



	public void setFinalGetMoney(Double finalGetMoney) {
		this.finalGetMoney = finalGetMoney;
	}



	public Double getFinalLostMoney() {
		return finalLostMoney;
	}



	public void setFinalLostMoney(Double finalLostMoney) {
		this.finalLostMoney = finalLostMoney;
	}



	public Integer getType() {
		return this.type;
	}



	public void setType(Integer type) {
		this.type = type;
	}



	public String getRecordTime() {
		return recordTime;
	}



	public void setRecordTime(Date date) {
		SimpleDateFormat simpleDateFormat= new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
		this.recordTime = simpleDateFormat.format(date);
	}



	public Integer getStatus() {
		return status;
	}



	public void setStatus(Integer status) {
		this.status = status;
	}



	public String getRemark() {
		return remark;
	}



	public void setRemark(String remark) {
		this.remark = remark;
	}



	public Integer getIsDelete() {
		return isDelete;
	}



	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}



	
	
	


	public String getMethod() {
		return method;
	}



	public void setMethod(String method) {
		this.method = method;
	}



	public String getOrderNo() {
		return orderNo;
	}



	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}



	public String getTradeNo() {
		return tradeNo;
	}



	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}



	@Override
	public String toString() {
		return "WalletRecord [walletRecordId=" + walletRecordId + ", peopleId=" + peopleId + ", indentId=" + indentId
				+ ", peopleType=" + peopleType + ", mainMoney=" + mainMoney + ", addMoney=" + addMoney + ", subMoney="
				+ subMoney + ", finalGetMoney=" + finalGetMoney + ", finalLostMoney=" + finalLostMoney + ", type="
				+ type + ", recordTime=" + recordTime + ", status=" + status + ", remark=" + remark + ", isDelete="
				+ isDelete + ", method=" + method + ", orderNo=" + orderNo + ", tradeNo=" + tradeNo + "]";
	}

	
	

	
	
	
}
